using UnityEngine;
using System.Collections;

public class Axis : MonoBehaviour 
{
	public bool isGrounded;

	void OnTriggerStay(Collider obj)
	{
		if(obj.gameObject.layer == 8)
		isGrounded = true;
	}
	
	void OnTriggerExit(Collider obj)
	{
		isGrounded = false;
	}
	
}
